<?php
$panelSettings = Zend_Json::decode($this->panel->settings);
$align = $panelSettings['align'];
?>
<div id="<?php echo $this->panel->getDivID() ?>">
    <div class="RM_unit_details_boat_container" style="text-align:<?php echo $panelSettings['align'];?>">
        <div class="RM_unit_details_boat">
            <table cellpadding="5" cellspacing="5" border="0">
                <tbody><tr>
                    
                    <tr>
                        <td width="25%"><?php echo RM_Environment::getInstance()->getTranslation(RM_Environment::TRANSLATE_MAIN)->_('RM.Boat.Fields', 'Make'); ?></td>
                        <td>&nbsp;</td>
                        <td><?php echo $this->unit->make;?></td>
                    </tr>
                    <tr>
                        <td><?php echo RM_Environment::getInstance()->getTranslation(RM_Environment::TRANSLATE_MAIN)->_('RM.Boat.Fields', 'Model'); ?></td>
                        <td>&nbsp;</td>
                        <td><?php echo $this->unit->model; ?></td>
                    </tr>
                    <tr>
                        <td><?php echo RM_Environment::getInstance()->getTranslation(RM_Environment::TRANSLATE_MAIN)->_('RM.Boat.Fields', 'Cabins'); ?></td>
                        <td>&nbsp;</td>
                        <td><?php echo $this->unit->cabins;?></td>
                    </tr>
                    <tr>
                        <td><?php echo RM_Environment::getInstance()->getTranslation(RM_Environment::TRANSLATE_MAIN)->_('RM.Boat.Fields', 'length'); ?></td>
                        <td>&nbsp;</td>
                        <td><?php echo $this->unit->length; ?></td>
                    </tr>
                    <tr>
                        <td><?php echo RM_Environment::getInstance()->getTranslation(RM_Environment::TRANSLATE_MAIN)->_('RM.Boat.Fields', 'depth'); ?></td>
                        <td>&nbsp;</td>
                        <td><?php echo $this->unit->depth; ?></td>
                    </tr>
                    <tr>
                        <td><?php echo RM_Environment::getInstance()->getTranslation(RM_Environment::TRANSLATE_MAIN)->_('RM.Boat.Fields', 'width'); ?></td>
                        <td>&nbsp;</td>
                        <td><?php echo $this->unit->width; ?></td>
                    </tr>
                    <tr>
                        <td><?php echo RM_Environment::getInstance()->getTranslation(RM_Environment::TRANSLATE_MAIN)->_('RM.Boat.Fields', 'mainsail'); ?></td>
                        <td>&nbsp;</td>
                        <td><?php echo $this->unit->mainsail; ?></td>
                    </tr>
                    
                </tbody>
            </table>
        </div>
    </div>
</div>